import request from '@/utils/request'

// 获取机构树形数据
export function organtreeList(query) {
    return request({
        url: '/datam/WiOrganB/treeList',
        method: 'get',
        params: query
    })
}
// 获取行政区划树形结构
export function CmAddvBList(query) {
    return request({
        url: '/datam/CmAddvB/treeList',
        method: 'get',
        params: query
    })
}
// 获取渠系树形结构
export function WcChanBList(query) {
    return request({
        url: '/datam/WcChanB/treeList',
        method: 'get',
        params: query
    })
}

// 获取收缴方式  0按农户 1按机构 year=2023
export function getFeeKind(query) {
    return request({
        url: '/waterPrice/WiOrgfeeY/getFeeKind',
        method: 'get',
        params: query
    })
}